from django.contrib import admin

# Register your models here.
from user.models import UserProfile, Address


@admin.register(UserProfile)
class UserProfileAdmin(admin.ModelAdmin):
    list_display = ['username', 'nickname', 'gender', 'phone', 'email']
    list_per_page = 10


@admin.register(Address)
class AddressAdmin(admin.ModelAdmin):
    list_display = ['person_name', 'person_address', 'postcode', 'person_phone', 'a_user']
    list_per_page = 10
